/**
 *
 * 用户管理模块
 *
 * @author leon
 * @createTime '2018/8/16'
 */


const Main = () => import( '@/views/main');

const List = () => import('@/views/vote/list');
const VoteDetail = () => import('@/views/vote/detail');

export default [
    {
        path: '/vote',
        name: 'vote',
        meta: { name: '偶像研究社', unfold: false,icon:'el-icon-menu'},
        component: Main,
        children: [
            {
                path: 'list',
                name: 'list',
                component: List,
                meta: {
                    requireAuth: true,
                    name: '最近投票'
                }
            },
            {
                path: 'detail',
                name: 'voteDetail',
                component: VoteDetail,
                meta: {
                    requireAuth: true,
                    name: '投票详情'
                }
            }
        ],
        redirect: {
            name: 'list'
        }
    }
]
